package com.acxy.ants.resful.doc;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/11/1.
 */
public class ApiDoc {

    //接口名称
    private String name;

    //接口描述
    private String desc;

    //请求类型
    private String type;

    //请求URL接口
    private String url;

    //方法所在位置
    private String cls;

    //接口生成文件路径，根据接口产生
    private String path;

    //Headers头部信息
    private List<Map<String, String>> headers;

    //接口请求参数信息
    private List<RequestParams> requestParams;

    //请求示例
    private String requestStr;

    //接口返回结果信息
    private List<ResponseParams> responseParams;

    //返回示例
    private String responseStr;



    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }


    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getCls() {
        return cls;
    }

    public void setCls(String cls) {
        this.cls = cls;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public List<Map<String, String>> getHeaders() {
        return headers;
    }

    public void setHeaders(List<Map<String, String>> headers) {
        this.headers = headers;
    }

    public List<RequestParams> getRequestParams() {
        return requestParams;
    }

    public void setRequestParams(List<RequestParams> requestParams) {
        this.requestParams = requestParams;
    }

    public String getRequestStr() {
        return requestStr;
    }

    public void setRequestStr(String requestStr) {
        this.requestStr = requestStr;
    }

    public List<ResponseParams> getResponseParams() {
        return responseParams;
    }

    public void setResponseParams(List<ResponseParams> responseParams) {
        this.responseParams = responseParams;
    }

    public String getResponseStr() {
        return responseStr;
    }

    public void setResponseStr(String responseStr) {
        this.responseStr = responseStr;
    }
}
